package com.tjp.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tjp.common.utils.PageUtils;
import com.tjp.mall.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * Ʒ?Ʒ???????
 *
 * @author tjp
 * @email tjpcorner@126.com
 * @date 2022-07-20 12:35:45
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);


    void updateBrandNameByBrandId(Long brandId, String name);

    void updateCatNameByCatId(Long catId, String name);

    List<CategoryBrandRelationEntity> categoryBrandRelation(Long catId);
}

